//
//  Panel.h
//  NXTRemoteController
//
//  Created by naceka on 14.05.12.
//  Copyright 2012 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Robot.h"

@interface Panel : UIView <SensorDataDelegate> {
	UILabel * sensorType[4];
	UILabel * sensorData[4];
	Robot * robot;
}

- (id)initWithFrame:(CGRect)frame andRobot:(Robot *) r;
- (void) setSensor:(int) sensorNumber Type:(NSString *) type;
- (void) setSensor:(int) sensorNumber Data:(NSString *) data;

- (void) cleanSensorsTypeAndData;

//NCNotificationCenter
- (void) deviceConnected;
- (void) deviceDisconnected;

//SensorDataDelegate
- (void) sensorDataUpdated:(int) sn;

@end
